package cn.itcast.wanxinp2p.account.mapper;

import cn.itcast.wanxinp2p.account.entity.pojo.Account;

import cn.itcast.wanxinp2p.account.model.account.AccountRegisterDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @email 1572178030@qq.com
 * @author:黄海宾
 * @date: 2023/3/30  19:46
 */
@Mapper
public interface AccountMapper {
   List<Account> findByPhone(@Param("mobile") String mobile);

    void insertAccount(@Param("accountarg") Account account);

    List<Account> findByUser(String username);
}
